﻿using System;
using System.Windows;
namespace QDP.Platform.Loader
{
    public class SingleAssemblyParser : IParser
    {
        public void Parse(string file,System.IO.Stream stream)
        {
            try
            {
                D.Debug("单文件程序集");
                new AssemblyPart().Load(stream);
            }
            catch (Exception ex)
            {
                D.Debug("err:"+ex.Message+" file:"+file);
#if DEBUG
                MessageBox.Show(file+"\r\n"+ex.Message);
#endif
            }
            finally { }
        }
    }
}
